package com.quartet.modules.vehicle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quartet.modules.vehicle.dto.TDriverInfoAddRequestDto;
import com.quartet.modules.vehicle.entity.TDriverInfo;

/**
 * 驾驶员信息表(TDriverInfo)表服务接口
 *
 * @author makejava
 * @since 2021-05-04 16:33:12
 */
public interface TDriverInfoService extends IService<TDriverInfo> {

    /**
     * 添加驾驶员信息
     * @param tDriverInfoAddRequestDto
     */
    void addDriverInfoInfo(TDriverInfoAddRequestDto tDriverInfoAddRequestDto);

    /**
     * 功能描述: 修改驾驶员信息
     * @author huipanxing huipanxing@chinasofti.com
     * @date 2021/5/13 16:18
     * @param tDriverInfoAddRequestDto
     * @return void
     */
    void updateDriverInfoInfo(TDriverInfoAddRequestDto tDriverInfoAddRequestDto);

    /**
     * 根据车辆编码删除驾驶员信息
     * @param vehicleCode
     */
    void deleteDriverInfoInfo(String vehicleCode);

    /**
     * 根据车辆编码查询驾驶员信息
     * @param vehicleCode
     * @return
     */
    TDriverInfoAddRequestDto selectDriverInfoInfo(String vehicleCode);
}
